<!--
 * @Author: zhang_gen_yuan
 * @Date: 2023-04-07 10:09:22
 * @LastEditTime: 2023-08-30 15:11:22
 * @Descripttion: 
-->

<script setup lang="ts">
import { Checkbox } from "zgy-ui";
import { ref } from "vue"
const clist = ref([
  {
    value:"1",
    name:"男生",
    disabled:true
  },
  {
    value:"2",
    name:"女生"
  }
])
const value = ref(['1'])
const getCheckedList = (list:any)=>{
  console.log("选中的",list)
}
</script>
<template>
  <Checkbox border :list="clist" :value="value" @getCheckedList="getCheckedList"></Checkbox>
  <!-- <button @click="clickHandler">click</button> -->
</template>
